<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

$config['identity_field'] 	= 'account_name'; //email
$config['password_field'] 	= 'password';
$config['user_table']	  	= 'users';
$config['user_model']		= 'user_model';

$config['admin_mail'] 		= 'no-reply@globe.com.ph';
$config['admin_name']		= 'GoGADGETS';
$config['reset_subject'] 	= 'GoGADGETS Account Password Reset';
$config['reset_template'] 	= 'user/email_template';
$config['reset_code_validation']= 1200; // 20 mins
$config['reset_message_success']="Your new password was successfully sent to your <br />email <b>{email}</b>";
$config['reset_attempt']=3; //
$config['reset_attempt_expiration']=86400; // 86400=1day; 3600=1 hour; 300=5mins; 120=2mins 

$config['locked_attempt_exp']=300; // 86400=1day; 3600=1 hour; 300=5mins; 120=2mins 
$config['login_max_attempt']=3; // 4 times show the locked message
$config['pass_len']=8; // Minimum Password length

//
//Own 401 Page - define here
$config['401_override'] 	= 'user/unauthorized';

//Own Login Page?
$config['401_login_page'] 	= 'user/login';

$config['landing_page'] 	= 'landing';